#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
#include <iostream>

using namespace std;

int main(int argc, char* argv[]){
	CppUnit::TestSuite *integrationSuite = new CppUnit::TestSuite( "All integration test" );
	CppUnit::TestFactoryRegistry::getRegistry().addTestToSuite(integrationSuite);
	CppUnit::TextUi::TestRunner runner;

	runner.addTest(integrationSuite);
	bool wasSucessful = runner.run();

	return wasSucessful ? 0 : 1;
}